package com.qyer.lxp.model.book.parameter;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;

/**
 * Created by jiangping on 16/7/1.
 */
@XmlRootElement
@XmlAccessorType(XmlAccessType.FIELD)
public class Answer implements Serializable {
    private static final long serialVersionUID = 241855669874812087L;

    /**
     * 候选答案编码
     */
    @XmlElement(name = "answer-code")
    private String answerCode;

    public String getAnswerCode() {
        return answerCode;
    }

    public void setAnswerCode(String answerCode) {
        this.answerCode = answerCode;
    }

    @Override
    public String toString() {
        return "Answer{" +
                "answerCode='" + answerCode + '\'' +
                '}';
    }
}
